package com.farah.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.farah.lease.model.entity.RoomInfo;
import com.farah.lease.web.admin.vo.room.RoomItemVo;
import com.farah.lease.web.admin.vo.room.RoomQueryVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 不爱跑步的法拉韶
 * @Date 2024-06-21__10:34
 * @Description 针对表【room_info(房间信息表)】的数据库操作Mapper
 * @Entity com.farah.lease.model.entity.RoomInfo
 **/
@Mapper
public interface RoomInfoMapper extends BaseMapper<RoomInfo> {
    IPage<RoomItemVo> pageRoomItemByQuery(IPage<RoomItemVo> page, RoomQueryVo queryVo);

    List<RoomInfo> listBasicByApartmentId(Long id);

}
